package com.nursery.clazz.service;

import java.util.List;

import com.nursery.clazz.entity.ClassInfo;
import com.nursery.clazz.entity.ClassInfoExample;

public interface ClassInfoService {
	long countByExample(ClassInfoExample example);

	void deleteByPrimaryKey(Integer id) throws Exception;

	void insert(ClassInfo record) throws Exception;

	List<ClassInfo> selectByExample(ClassInfoExample example);

	ClassInfo selectByPrimaryKey(Integer id);

	void updateByPrimaryKeySelective(ClassInfo record) throws Exception;

    void updateByPrimaryKey(ClassInfo record) throws Exception;
    
    String getNameByid(Integer id);
}
